<?php
/**
 * HTML 响应状态码枚举类
 * User: 苏近之
 * Date: 2019-03-23
 * Time: 19:55
 */

namespace app\common\enum;

class HttpResponseStatusCode
{

    const OK = 200;
    const CREATED = 201;
    const ACCEPTED = 202;

    const MULTIPLE_CHOICES = 300;
    const MOVED_PERMANENTLY = 301;
    const FOUND = 302;
    const NOT_MODIFIED = 304;

    const BAD_REQUEST = 400;
    const FORBIDDEN = 403;
    const NOT_FOUND = 404;
    const METHOD_NOT_ALLOWED = 405;

    const INTERNAL_SERVER_ERROR = 500;
    const BAD_GATEWAY = 502;
    const GATEWAY_TIMEOUT= 504;
}